package com.bosicloud.cmb.ibp.commom.utils;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.TimeUnit;

@Slf4j
public class MixUtils {

    public static void sleepShort() {
        sleep(200);
    }

    public static void sleep(long time) {
        try {
            TimeUnit.MILLISECONDS.sleep(time);
        } catch (InterruptedException e) {
            log.error("线程SLEEP异常", e);
        }
    }
}
